import * as Three from 'three';
import TWEEN from '@tweenjs/tween.js'; //https://github.com/tweenjs/tween.js
import * as dat from 'dat.gui';
import Stats from 'stats.js';
import { OrbitControls, MapControls } from 'threeJsm/controls/OrbitControls';
import { VertexNormalsHelper } from 'threeJsm/helpers/VertexNormalsHelper';
// import { LightProbeHelper } from 'threeJsm/helpers/LightProbeHelper';
import { FontLoader } from 'threeJsm/loaders/FontLoader';
import { TextGeometry } from 'threeJsm/geometries/TextGeometry';
import { OBJLoader } from 'threeJsm/loaders/OBJLoader.js';
import { MTLLoader } from 'threeJsm/loaders/MTLLoader.js';
// import { TIFFLoader } from 'threeJsm/loaders/TIFFLoader.js';
import { GLTFLoader } from 'threeJsm/loaders/GLTFLoader.js';
import { Line2 } from 'threeJsm/lines/Line2.js';
import CalcThree from './calcThree';

const WebGl = {
  CalcThree,
  Three,
  TWEEN,
  dat, // Gui: new dat.GUI()
  Stats,
  OrbitControls,
  VertexNormalsHelper, //法线向量辅助
  // LightProbeHelper,  //光照探针辅助
  FontLoader,
  TextGeometry,
  OBJLoader,
  MTLLoader,
  // TIFFLoader,
  GLTFLoader,
};
export default WebGl;
